package com.caiyouxi.finance.mapper;

import com.caiyouxi.finance.model.FinanceTradeReceived;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigInteger;
import java.util.HashMap;
import java.util.List;

/**
 * 已收/已付资金明细
 * Created by Administrator on 2017/10/18.
 */
@Mapper
public interface FinanceTradeReceivedMapper {

    //查询
    public FinanceTradeReceived select_finance_trade_received(BigInteger id);

    public FinanceTradeReceived select_finance_trade_received_by_receivable_id_and_details_id(HashMap<String,Object> map);

    public List<FinanceTradeReceived> get_list(FinanceTradeReceived bean);

    //增加
    public int add_finance_trade_received(FinanceTradeReceived bean);

    //修改
    public int update_finance_trade_received(FinanceTradeReceived bean);

    //删除
    public int delete_finance_trade_received(FinanceTradeReceived bean);

}
